package day01;
import java.util.Scanner;
public class TestIf1 {

	public static void main(String[] args) {
		//if..else if..else--多段重复if结构
		Scanner in = new Scanner(System.in);
		System.out.println("您的比赛时间为：");
		double time = in.nextDouble();
		//嵌套if结构
		if(time<=10.00) {//进决赛
			System.out.println("您的性别为：");
			String sex = in.next();
			if(sex.equals("男")) {
				System.out.println("男子组");
			}else {
				System.out.println("女子组");
			}
			
		}else {
			System.out.println("再接再厉");
		}
	}	
}
